package org.example.course.service;

import org.example.commonapi.domain.Course;
import com.baomidou.mybatisplus.extension.service.IService;
import org.example.commonapi.dto.CourseInfoDto;
import org.example.commonapi.dto.PageInfo;
import org.example.commonapi.dto.StudentDto;

import java.util.List;

/**
* @author DELL
* @description 针对表【course】的数据库操作Service
* @createDate 2024-06-01 21:55:22
*/

public interface CourseService extends IService<Course> {


    PageInfo studentList(Integer pageNum,Integer pageSize,Integer state, String courseName, Long id);

    List<CourseInfoDto> list(Integer state, String courseName);

    void insertCourse(Course course, Long id);

    PageInfo teacherList(Integer pageNum,Integer pageSize,Integer state, String courseName, Long id);

    void updateCourseNumber(Long courseId, Integer number);
}
